﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace Waker
{
    public partial class WaitingForm : DevExpress.XtraEditors.XtraForm
    {
        public WaitingForm()
        {
            InitializeComponent();
        }
        public string Message { get; set; }
        private void WaitingForm_Load(object sender, EventArgs e)
        {
        }

        private void WaitingForm_Activated(object sender, EventArgs e)
        {
            //if (Lang == "En")
            //    labelControl1.Text = "Please wait......";
            //else
            if (string.IsNullOrEmpty(Message))
                label1.Text = "请稍侯......";
            else
                label1.Text = string.Format("{0}......", Message);
        }
    }
}